Name | Type | Description |
Target | Object | Gets the object that forms part of the connection |
Distance | Number | Gets the distance along the parent object |
Example: Get the name of the next conveyor
var nextConv = myConv.NextConnection.Target; LogDebug("next conveyor is " + nextConv.Name);
Header
Name | Type | Description |
MessageID | Integer | Integer value that identifies the message type |
DeviceID | Integer | Integer value that identifies the device that sent or is to receive message |
LocationID | Integer | Integer value that identifies specific equipment |
DeviceRef | Integer | Integer value that is sent by the device for its own internal use, should be copied back to the device in any response message |
Example:
myHeader = CreateHeader(); myHeader.MessageID = 102; myHeader.DeviceID = 2; myHeader.LocationID = 41; myHeader.DeviceRef = 23;
void Dispose()
Called to release system allocated resources, this must be called when the object is no longer required.
Return value - None
Message
The properties of a message object are defined by the user.
void Dispose()
Called to release system allocated resources. This must be called when the object is no longer required.
Return value - None